package com.bsfcs.rag.entity;

import jakarta.persistence.*;
import java.math.BigDecimal;

/**
 * 付款管理表实体类
 * 
 * @author Generated
 * @date 2025-10-10
 */
@Entity
@Table(name = "htglxtpaymoney")
public class ContractPaymoney {
    
    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    private String id;
    
    /**
     * 版本
     */
    @Column(name = "version")
    private String version;
    
    /**
     * 合同履约节点id
     */
    @Column(name = "carry_id")
    private String carry_id;
    
    /**
     * 状态
     */
    @Column(name = "billstatus")
    private String billStatus;
    
    /**
     * 流程实例
     */
    @Column(name = "processinstance")
    private String processInstance;
    
    /**
     * 进项发票登记单编号
     */
    @Column(name = "jxpfdjd")
    private String JXPFDJD;
    
    /**
     * 合同名称
     */
    @Column(name = "contr_name")
    private String contr_name;
    
    /**
     * 合同编号
     */
    @Column(name = "contr_code")
    private String contr_code;
    
    /**
     * 付款时间
     */
    @Column(name = "pay_time")
    private String pay_time;
    
    /**
     * 收款单位
     */
    @Column(name = "coll_unit")
    private String coll_unit;
    
    /**
     * 开户行
     */
    @Column(name = "bank")
    private String bank;
    
    /**
     * 银行账号
     */
    @Column(name = "bank_accou")
    private String bank_accou;
    
    /**
     * 合同总金额
     */
    @Column(name = "all_money")
    private BigDecimal all_money;
    
    /**
     * 已付金额
     */
    @Column(name = "paid_money")
    private BigDecimal paid_money;
    
    /**
     * 本次申请金额
     */
    @Column(name = "apply_money")
    private BigDecimal apply_money;
    
    /**
     * 支付方式
     */
    @Column(name = "pay_method")
    private String pay_method;
    
    /**
     * 付款说明
     */
    @Column(name = "pay_remark")
    private String pay_remark;
    
    /**
     * 经办人
     */
    @Column(name = "agent")
    private String agent;
    
    /**
     * 所在部门
     */
    @Column(name = "dept")
    private String dept;
    
    /**
     * 所在公司
     */
    @Column(name = "company")
    private String company;
    
    /**
     * 父级id
     */
    @Column(name = "parent_id")
    private String parent_id;
    
    /**
     * 创建人
     */
    @Column(name = "create_user_id")
    private String create_user_id;
    
    /**
     * 所属单位
     */
    @Column(name = "org")
    private String org;
    
    /**
     * 所属部门
     */
    @Column(name = "department")
    private String department;
    
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private String create_time;
    
    /**
     * 单据编号
     */
    @Column(name = "billcode")
    private String billcode;
    
    /**
     * 单据名称
     */
    @Column(name = "billname")
    private String billname;
    
    /**
     * 项目编号
     */
    @Column(name = "projectcode")
    private String projectcode;
    
    /**
     * 项目名称
     */
    @Column(name = "projectname")
    private String projectname;
    
    /**
     * 申请时间
     */
    @Column(name = "applicant_time")
    private String applicant_time;
    
    /**
     * 履行状态
     */
    @Column(name = "performance_status")
    private String performance_status;
    
    /**
     * 扣款金额
     */
    @Column(name = "deduction_amount")
    private BigDecimal deduction_amount;
    
    /**
     * 扣款原因
     */
    @Column(name = "deduction_reason")
    private String deduction_reason;
    
    /**
     * 合同ID（新表单废弃）
     */
    @Column(name = "contract_id")
    private String contract_id;
    
    /**
     * 合同ID新
     */
    @Column(name = "contr_id_new")
    private String contr_id_new;
    
    /**
     * 收款单位id
     */
    @Column(name = "coll_unit_id")
    private String coll_unit_id;
    
    /**
     * 付款单位
     */
    @Column(name = "pay_org")
    private String pay_org;
    
    /**
     * 付款帐户id
     */
    @Column(name = "pay_accountid")
    private String pay_accountid;
    
    /**
     * 付款帐户
     */
    @Column(name = "pay_account")
    private String pay_account;
    
    /**
     * 付款经办人
     */
    @Column(name = "pay_user")
    private String pay_user;
    
    /**
     * 付款帐户所在银行
     */
    @Column(name = "pay_bank")
    private String pay_bank;
    
    /**
     * 付款帐户币种
     */
    @Column(name = "pay_bz")
    private String pay_bz;
    
    /**
     * 付款性质
     */
    @Column(name = "pay_nature")
    private String pay_nature;
    
    /**
     * 税率
     */
    @Column(name = "pay_rate")
    private BigDecimal pay_rate;
    
    /**
     * 备注
     */
    @Column(name = "mark")
    private String mark;
    
    /**
     * 付款说明原因
     */
    @Column(name = "notes")
    private String notes;
    
    /**
     * 经办人编码
     */
    @Column(name = "agentcode")
    private String agentcode;
    
    /**
     * 所在部门编码
     */
    @Column(name = "deptcode")
    private String deptcode;
    
    /**
     * 进项票发票登记id
     */
    @Column(name = "jxpdjid")
    private String jxpdjid;
    
    /**
     * 付款单位id
     */
    @Column(name = "pay_org_id")
    private String pay_org_id;
    
    /**
     * 签约主体主键
     */
    @Column(name = "temp_pay_org_id")
    private String temp_pay_org_id;
    
    /**
     * 付款单据
     */
    @Column(name = "pay_bill_type")
    private String pay_bill_type;
    
    /**
     * 付款主体
     */
    @Column(name = "pay_org_name")
    private String pay_org_name;
    
    /**
     * 收款单位备注
     */
    @Lob
    @Column(name = "s_mak")
    private String s_mak;
    
    /**
     * 收款单位名称
     */
    @Column(name = "coll_unit_name")
    private String coll_unit_name;
    
    /**
     * 控制财务填写的
     */
    @Column(name = "is_pay_ctrl")
    private Integer is_pay_ctrl;

    // Getter和Setter方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getCarry_id() {
        return carry_id;
    }

    public void setCarry_id(String carry_id) {
        this.carry_id = carry_id;
    }

    public String getBillStatus() {
        return billStatus;
    }

    public void setBillStatus(String billStatus) {
        this.billStatus = billStatus;
    }

    public String getProcessInstance() {
        return processInstance;
    }

    public void setProcessInstance(String processInstance) {
        this.processInstance = processInstance;
    }

    public String getJXPFDJD() {
        return JXPFDJD;
    }

    public void setJXPFDJD(String JXPFDJD) {
        this.JXPFDJD = JXPFDJD;
    }

    public String getContr_name() {
        return contr_name;
    }

    public void setContr_name(String contr_name) {
        this.contr_name = contr_name;
    }

    public String getContr_code() {
        return contr_code;
    }

    public void setContr_code(String contr_code) {
        this.contr_code = contr_code;
    }

    public String getPay_time() {
        return pay_time;
    }

    public void setPay_time(String pay_time) {
        this.pay_time = pay_time;
    }

    public String getColl_unit() {
        return coll_unit;
    }

    public void setColl_unit(String coll_unit) {
        this.coll_unit = coll_unit;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getBank_accou() {
        return bank_accou;
    }

    public void setBank_accou(String bank_accou) {
        this.bank_accou = bank_accou;
    }

    public BigDecimal getAll_money() {
        return all_money;
    }

    public void setAll_money(BigDecimal all_money) {
        this.all_money = all_money;
    }

    public BigDecimal getPaid_money() {
        return paid_money;
    }

    public void setPaid_money(BigDecimal paid_money) {
        this.paid_money = paid_money;
    }

    public BigDecimal getApply_money() {
        return apply_money;
    }

    public void setApply_money(BigDecimal apply_money) {
        this.apply_money = apply_money;
    }

    public String getPay_method() {
        return pay_method;
    }

    public void setPay_method(String pay_method) {
        this.pay_method = pay_method;
    }

    public String getPay_remark() {
        return pay_remark;
    }

    public void setPay_remark(String pay_remark) {
        this.pay_remark = pay_remark;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getParent_id() {
        return parent_id;
    }

    public void setParent_id(String parent_id) {
        this.parent_id = parent_id;
    }

    public String getCreate_user_id() {
        return create_user_id;
    }

    public void setCreate_user_id(String create_user_id) {
        this.create_user_id = create_user_id;
    }

    public String getOrg() {
        return org;
    }

    public void setOrg(String org) {
        this.org = org;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getBillcode() {
        return billcode;
    }

    public void setBillcode(String billcode) {
        this.billcode = billcode;
    }

    public String getBillname() {
        return billname;
    }

    public void setBillname(String billname) {
        this.billname = billname;
    }

    public String getProjectcode() {
        return projectcode;
    }

    public void setProjectcode(String projectcode) {
        this.projectcode = projectcode;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public String getApplicant_time() {
        return applicant_time;
    }

    public void setApplicant_time(String applicant_time) {
        this.applicant_time = applicant_time;
    }

    public String getPerformance_status() {
        return performance_status;
    }

    public void setPerformance_status(String performance_status) {
        this.performance_status = performance_status;
    }

    public BigDecimal getDeduction_amount() {
        return deduction_amount;
    }

    public void setDeduction_amount(BigDecimal deduction_amount) {
        this.deduction_amount = deduction_amount;
    }

    public String getDeduction_reason() {
        return deduction_reason;
    }

    public void setDeduction_reason(String deduction_reason) {
        this.deduction_reason = deduction_reason;
    }

    public String getContract_id() {
        return contract_id;
    }

    public void setContract_id(String contract_id) {
        this.contract_id = contract_id;
    }

    public String getContr_id_new() {
        return contr_id_new;
    }

    public void setContr_id_new(String contr_id_new) {
        this.contr_id_new = contr_id_new;
    }

    public String getColl_unit_id() {
        return coll_unit_id;
    }

    public void setColl_unit_id(String coll_unit_id) {
        this.coll_unit_id = coll_unit_id;
    }

    public String getPay_org() {
        return pay_org;
    }

    public void setPay_org(String pay_org) {
        this.pay_org = pay_org;
    }

    public String getPay_accountid() {
        return pay_accountid;
    }

    public void setPay_accountid(String pay_accountid) {
        this.pay_accountid = pay_accountid;
    }

    public String getPay_account() {
        return pay_account;
    }

    public void setPay_account(String pay_account) {
        this.pay_account = pay_account;
    }

    public String getPay_user() {
        return pay_user;
    }

    public void setPay_user(String pay_user) {
        this.pay_user = pay_user;
    }

    public String getPay_bank() {
        return pay_bank;
    }

    public void setPay_bank(String pay_bank) {
        this.pay_bank = pay_bank;
    }

    public String getPay_bz() {
        return pay_bz;
    }

    public void setPay_bz(String pay_bz) {
        this.pay_bz = pay_bz;
    }

    public String getPay_nature() {
        return pay_nature;
    }

    public void setPay_nature(String pay_nature) {
        this.pay_nature = pay_nature;
    }

    public BigDecimal getPay_rate() {
        return pay_rate;
    }

    public void setPay_rate(BigDecimal pay_rate) {
        this.pay_rate = pay_rate;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getAgentcode() {
        return agentcode;
    }

    public void setAgentcode(String agentcode) {
        this.agentcode = agentcode;
    }

    public String getDeptcode() {
        return deptcode;
    }

    public void setDeptcode(String deptcode) {
        this.deptcode = deptcode;
    }

    public String getJxpdjid() {
        return jxpdjid;
    }

    public void setJxpdjid(String jxpdjid) {
        this.jxpdjid = jxpdjid;
    }

    public String getPay_org_id() {
        return pay_org_id;
    }

    public void setPay_org_id(String pay_org_id) {
        this.pay_org_id = pay_org_id;
    }

    public String getTemp_pay_org_id() {
        return temp_pay_org_id;
    }

    public void setTemp_pay_org_id(String temp_pay_org_id) {
        this.temp_pay_org_id = temp_pay_org_id;
    }

    public String getPay_bill_type() {
        return pay_bill_type;
    }

    public void setPay_bill_type(String pay_bill_type) {
        this.pay_bill_type = pay_bill_type;
    }

    public String getPay_org_name() {
        return pay_org_name;
    }

    public void setPay_org_name(String pay_org_name) {
        this.pay_org_name = pay_org_name;
    }

    public String getS_mak() {
        return s_mak;
    }

    public void setS_mak(String s_mak) {
        this.s_mak = s_mak;
    }

    public String getColl_unit_name() {
        return coll_unit_name;
    }

    public void setColl_unit_name(String coll_unit_name) {
        this.coll_unit_name = coll_unit_name;
    }

    public Integer getIs_pay_ctrl() {
        return is_pay_ctrl;
    }

    public void setIs_pay_ctrl(Integer is_pay_ctrl) {
        this.is_pay_ctrl = is_pay_ctrl;
    }
}